package com.clgc.eduservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 课程班级和学生表
 * </p>
 *
 * @author cml
 * @since 2021-5-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="KcbjStudent对象", description="课程班级和学生表")
@TableName(value = "kcbj_id")
public class KcbjStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "学生id")
    @TableField(value = "student_id")
    private Integer studentId;

    @ApiModelProperty(value = "课程id")
    @TableField(value = "kcbj_id")
    private String kcbjId;


}
